package com.jinly.ryder.account.service;

import com.jinly.ryder.account.service.model.UserAuth;
import com.jinly.ryder.common.auth.model.AuthRole;
import com.jinly.ryder.common.auth.model.AuthType;

import java.util.List;

public interface UserAuthService {
    List<UserAuth> queryUserAuthList(AuthType authType, String authData, AuthRole authRole);

    List<UserAuth> queryUserAuthListByUserId(Long userId, AuthType authType);

    void addUserAuth(Long userId, AuthType authType, AuthRole authRole, String authData);

    void deleteUserAuth(Long authId);

    List<AuthType> getUserAuthTypes(Long userId);
}
